//
//  UILabel+NavigationTitleView.m
//  NEWS
//
//  Created by tvo on 3/7/13.
//  Copyright (c) 2013 TinhVan Outsourcing JSC. All rights reserved.
//

#import "UILabel+NavigationTitleView.h"

@implementation UILabel (UILabelCatalogy)
- (void)setNavigationTitleView:(NSString*)title {
    [self setText:title];
    [self setNumberOfLines:2];
    [self setTextColor:[UIColor whiteColor]];
    [self sizeToFit];
    [self setFont:Roboto_Bold((IS_DEVICE_IPAD ? 22.0f : 17.5f))];
    [self setBackgroundColor:[UIColor clearColor]];
    [self setTextAlignment:NSTextAlignmentCenter];
    [self.layer setShadowColor:[[UIColor blackColor] CGColor]];
}
@end
